
from django.contrib import admin
from django.urls import path, re_path, include

from server.views import handelFile, policy,gitpull

urlpatterns = [
    path('admin/', admin.site.urls),
    re_path(r'^assets/(?P<path>.*)$', handelFile),
    path('user/', include("User.urls")),#敏感权限，需要验证token
    path('file/', include("Files.urls")),
    path('master/', include("Master.urls")),#敏感权限，需要验证token
    path('version/', include("Version.urls")),
    path('policy/', policy),
    path('gitpull/', gitpull),
]
